<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" disabled class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" disabled class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc" disabled class="form-control " rows="5" name="row[desc]" cols="50">{$row.desc|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-images" disabled class="form-control" size="50" name="row[images]" type="text" value="{$row.images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button disabled type="button"  id="faupload-images" class="btn btn-danger faupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button disabled type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-images"></ul>
        </div>
    </div>
    
    
    
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('申请时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text"  disabled value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    
    
    
      <?php if($row["status"] == "待处理"){ ?>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
            <div class="col-xs-12 col-sm-8">
                
                <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
                {/foreach}
                </div>
    
            </div>
        </div>
        
       <input id="c-cl_time" class="form-control" name="row[cl_time]" type="hidden" value="{:date('Y-m-d H:i:s')}">
          
          
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('拒绝处理的原因')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-err_cnt" class="form-control" name="row[err_cnt]" type="text" value="{$row.err_cnt|htmlentities}">
            </div>
        </div>
        
    <?php }else{ ?>
        <label class="control-label col-xs-12 col-sm-2">{:__('状态')}:</label>
         <div class="form-group">
            <div class="col-xs-12 col-sm-8">
                <input id="c-err_cnt" disabled class="form-control" name="row[status]" type="text" value="{$row.status|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('拒绝处理的原因')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-err_cnt" class="form-control" disabled name="row[err_cnt]" type="text" value="{$row.err_cnt|htmlentities}">
            </div>
        </div>
        
         <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('处理时间')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-cl_time" class="form-control" disabled name="row[cl_time]" type="text" value="{$row.cl_time|htmlentities}">
            </div>
        </div>
    
    <?php } ?>
    
    
    
    
    
    
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
    
    
</form>
